﻿@model FlashcardWeb.Models.Flashcard[]
@{
    Layout = null;
    var comma = string.Empty;
}
jsonpCallback(([
@foreach (var card in Model)
{ 
    @comma<text>[@string.Format("\"{0}\"", card.Word), @string.Format("\"{0}\"", card.Pronunciation),@string.Format("\"{0}\"", card.Meaning),@string.Format("\"{0}\"", card.Example),@string.Format("\"{0}\"", card.Translation)]</text>
    comma = ",";
}
])